package meihua.stopcarapp.ui;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.TextView;

import butterknife.Bind;
import butterknife.OnClick;
import meihua.mylibrary.base.BaseActivity;
import meihua.stopcarapp.R;

public class ChargeSuccessActivity extends BaseActivity {


    @Bind(R.id.toolbar_left)
    ImageView toolbarLeft;
    @Bind(R.id.toolbar_center)
    TextView toolbarCenter;
    @Bind(R.id.toolbar_right)
    ImageView toolbarRight;
    @Bind(R.id.charge_user_btn)
    Button btnGoMain;
    @Bind(R.id.charge_money_txt)
    TextView chargeMoneyTxt;

    @Override
    public int getLayoutId() {
        return R.layout.activity_charge_success;
    }

    @Override
    public void initPresenter() {

    }

    @Override
    public void initView(Bundle savedInstanceState) {
        toolbarCenter.setText("充值成功");

    }
    public static void startAction(Activity activity) {
        Intent intent = new Intent(activity, ChargeSuccessActivity.class);
        activity.startActivity(intent);
    }


    @OnClick({R.id.toolbar_left, R.id.charge_user_btn})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.toolbar_left:
                finish();
                break;
            case R.id.charge_user_btn:
                break;
        }
    }
}
